package me.thinkjet.sso.server.authentication.exception;

/**
 * 
 * @ClassName UnknownUsernameAuthenticationException
 * @author johnny_zyc
 * @Modified 2013-3-2 下午2:46:40
 * 
 */
public class UnknownUsernameAuthenticationException extends
		BadUsernameOrPasswordAuthenticationException {

	public static final UnknownUsernameAuthenticationException ERROR = new UnknownUsernameAuthenticationException();

	private static final long serialVersionUID = 3977861752513837361L;

	private static final String CODE = "error.authentication.credentials.bad.usernameorpassword.username";

	public UnknownUsernameAuthenticationException() {
		super(CODE);
	}

	public UnknownUsernameAuthenticationException(final Throwable throwable) {
		super(CODE, throwable);
	}

	public UnknownUsernameAuthenticationException(final String code) {
		super(code);
	}

	public UnknownUsernameAuthenticationException(final String code,
			final Throwable throwable) {
		super(code, throwable);
	}
}
